﻿@model Asd.MP.Utility.MessageViewModel
<div class="rmc">
    <div class="resultMessage">
        @{ WriteLiteral(string.Format("<div class='messageIcon icon_{0}'></div>", (int)Model.Status)); }
        <dl>
            <dt>
                @Model.Body
            </dt>
            @{
             
                int i = 1;
                foreach (var item in Model.MessageCollection)
                {
                <dd>
                    @string.Format("{0}.{1}", i++, item)
                </dd>
                }
            }
        </dl>
        <div class="operate">
            @{
                foreach (string s in Model.Operate)
                {
                    WriteLiteral(s);
                }
            }
        </div>
    </div>
</div>
